package com.zzw.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.ConfigurableApplicationContext;

@EnableEurekaClient //将普通springboot应用表示为Eureka客户端, 使其能够向Eureka Server注册并发送心跳
@SpringBootApplication
public class MemberProviderApplication10002 {
    public static void main(String[] args) {
        ConfigurableApplicationContext ioc = SpringApplication.run(MemberProviderApplication10002.class, args);
    }
}
